[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
STOP
Function
Abort PPE execution without appending answers (channel 0) to
the answer file
Syntax
STOP No arguments are required
Remarks
This statement may be used to abnormally terminate PPE execution at any
point. The only real difference between this statement and END is
whether or not information written to channel 0 is saved. END will save
the output to the script answer file; STOP will not.
Examples
STRING Question, Answer
LET Question = "What is your street address ..."
GOSUB ask
INPUTYN "Save address",Answer,@X0E
IF (Answer = NOCHAR()) STOP
END
:ask ' Sub to ask a question, get an answer, and log them to a file
LET Answer = ""
PRINTLN "@X0E",Question
INPUT "",Answer
NEWLINES 2
FPUTLN 0,"Q: ",STRIPATX(Question)
FPUTLN 0,"A: ",Answer
RETURN
See Also:
END
RETURN
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson